{include file="header.tpl.php"}


<div class="titleFull">

	<div class="wrapper">

		<h1 style="line-height: 100px; margin: 0px;">Link Details</h1>

	</div>

</div>


<div class="titleBlueBar"></div>




<div class="content2">

	<div class="wrapper">

		<div class="h30"></div>

		<div class="boxLeft2">




			<form action="links.php?link={$fid}" method="post">
			<table cellspacing="0" class="table">

			{if $error_msg ne ""}
			<tr><td colspan="2"><div class="error">{$error_msg}</div></td></tr>
			{elseif $success_msg ne ""}
			<tr><td colspan="2"><div class="success">{$success_msg}</div></td></tr>
			{/if}

			<tr><td>Link Name</td><td><input type="text" name="filename" value="{$filename}" /></td></tr>
			<tr><td>Link URL:</td><td><input type="text" name="link_url" value="{$link_url}" /></td></tr>
			<tr><td>Link Description:</td><td><input type="text" name="link_desc" value="{$link_desc}" /></td></tr>
			<tr><td>Leads</td><td>{$downloads}</td></tr>
			<tr><td>Last Downloaded Date</td><td>{if $last_download_date eq ""}Not downloaded yet.{else}{$last_download_date}{/if}</td></tr>
			<tr><td>Date Added</td><td>{$date}</td></tr>
			<tr><td>Download Link</td><td><b>{$SITE_URL|@urldecode}file/{$fcode}</b></td></tr>
			<tr><td>Forum BBCode:</td><td><textarea style="width:250px; height:100px;">[url={$SITE_URL|@urldecode}file/{$fcode}]{$SITE_URL|@urldecode}file/{$fcode}[/url]</textarea></td></tr>
			<tr><td>Hyper Link:</td><td><textarea style="width:250px; height:100px;"><a href="{$SITE_URL|@urldecode}file/{$fcode}">{$SITE_URL|@urldecode}file/{$fcode}</a></textarea></td></tr>
			</table>
			<div class="h20"></div>
			<center><input type="submit" class="buttonsmall" name="update" value="Update Link" /> &nbsp; <a href="links.php" class="buttonsmall">Back to Links</a></center>
			</form>






	</div>



<!--Right Panel-->
{include file="sidebar.tpl.php"}
<!--End Right Panel-->


{include file="footer.tpl.php"}